#include <iostream>
using namespace std;
bool fun(int n){
	if(n%2==0){
		n=n/2;
		if(n==2){
			return true;
		}else{
			fun(n);
		}
	}else{
		return false;
	}
}


int main(){
	int n;
	scanf("%d",&n);
	if(fun(n)==true){
		cout<<"yes"<<endl; 
	}else{
		cout<<"no"<<endl; 
	}
	system("pause");
	return 0;
}
